//
//  UIColor+Exienion.m
//  weibo-OC
//
//  Created by diyuyma on 16/2/29.
//  Copyright © 2016年 zhangkaiyun. All rights reserved.
//

#import "UIColor+Exienion.h"

@implementation UIColor (Exienion)

- (UIColor *)randomColor {
    
    CGFloat r = (random() % 255) / 255.0;
    CGFloat g = (random() % 255) / 255.0;
    CGFloat b = (random() % 255) / 255.0;
    
    return [UIColor colorWithRed:r green:g blue:b alpha:1.0];
}

@end
